package com.tierstall.client.table;


import java.util.ArrayList;
import java.util.List;

import com.tierstall.shared.UserDTO;

public class DataSource {

	private final List<UserDTO> users;
	private List<String> header;

	public DataSource(List<UserDTO> users) {
		header = new ArrayList<String>();
		header.add("Id");
		header.add("Name");
		header.add("Password");
		this.users = users;
	}

	public List<UserDTO> getUsers() {
		return users;
	}

	public List<String> getTableHeader() {
		return header;
	}

}

